package br.com.sigeu.loginuser;

import java.util.List;

import br.com.sigeu.util.DAOFactory;



public class LoginUserRN {

	private LoginUserDAO loginUserDAO;

	public LoginUserRN() {
		this.loginUserDAO = DAOFactory.LoginUserDAOFactory.criaLoginUserDAO();
			}

	public void salvar(LoginUser c1) {
		this.loginUserDAO.salvar(c1);
	}

	public List<LoginUser> listar() {
		return this.loginUserDAO.listar();
	}

	public void excluir(LoginUser loginUser) {
		this.loginUserDAO.excluir(loginUser);
		
	}

	public LoginUser pesquisar(String string) {
		return this.loginUserDAO.pesquisar(string);
	}

	public void alterar(LoginUser loginUser) {
	 this.loginUserDAO.alterar(loginUser);
		
	}

}
